+Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcontainer.c (gtk_container_focus): include internal
+ children when doing focus.
+ (gtk_container_get_all_children): new static function to include
+ internal children when making a list of them.
+
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
+Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcontainer.c (gtk_container_focus): include internal
+ children when doing focus.
+ (gtk_container_get_all_children): new static function to include
+ internal children when making a list of them.
+
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
+Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcontainer.c (gtk_container_focus): include internal
+ children when doing focus.
+ (gtk_container_get_all_children): new static function to include
+ internal children when making a list of them.
+
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
+Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcontainer.c (gtk_container_focus): include internal
+ children when doing focus.
+ (gtk_container_get_all_children): new static function to include
+ internal children when making a list of them.
+
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
+Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcontainer.c (gtk_container_focus): include internal
+ children when doing focus.
+ (gtk_container_get_all_children): new static function to include
+ internal children when making a list of them.
+
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
+Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcontainer.c (gtk_container_focus): include internal
+ children when doing focus.
+ (gtk_container_get_all_children): new static function to include
+ internal children when making a list of them.
+
Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
return g_object_get_data (G_OBJECT (container), "gtk-container-focus-chain");
}
+/* same as gtk_container_get_children, except it includes internals
+ */
+static GList *
+gtk_container_get_all_children (GtkContainer *container)
+{
+ GList *children = NULL;
+
+ gtk_container_forall (container,
+ gtk_container_children_callback,
+ &children);
+
+ return children;
+}
+
static gboolean
gtk_container_focus (GtkWidget *widget,
GtkDirectionType direction)
if (container->has_focus_chain)
children = g_list_copy (get_focus_chain (container));
else
- children = gtk_container_get_children (container);
+ children = gtk_container_get_all_children (container);
if (container->has_focus_chain &&
(direction == GTK_DIR_TAB_FORWARD ||